<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Untitled Document</title>
        <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
        <script type="text/javascript" src="../adapter/ext/ext-base.js">
        </script>
        <script type="text/javascript" src="../ext-all.js">
        </script>
		<script type="text/javascript" src="../src/locale/ext-lang-zh_CN.js">
        </script>
		<!-- ENDLIBS -->
		<link rel="stylesheet" type="text/css" href="Spinner.css"/>
		<script type="text/javascript" src="Spinner.js">
        </script>
		<script type="text/javascript" src="SpinnerField.js">
        </script>
        <script type="text/javascript" src="DateTimeField.js">
        </script>
		<script type="text/javascript">
            Ext.onReady(function(){
				new Ext.Viewport({
					layout:'fit',
					items:{
						tbar:[{
							text: '获取值',
							handler: function(){
								var v = Ext.getCmp('time').getValue();
								alert(v);
							}
						},{
							id:'time',
							xtype:'datetimefield',
							format:'H:i'
						}]
					}
				});
            });
        </script>
    </head>
    <body>
    </body>
</html>
